const Layout = () => import("@/layout/index.vue");

export default {
  path: "/user",
  name: "User",
  component: Layout,
  redirect: "/user/index",
  meta: {
    icon: "ep:setting",
    title: "用户管理",
    rank: 700,
    roles: [1]
  },
  children: [
    {
      path: "/user/index",
      name: "user",
      component: () => import("@/views/user/user.vue"),
      meta: {
        title: "用户管理"
      }
    },
    {
      path: "/user/info",
      name: "userInfo",
      component: () => import("@/views/user/info.vue"),
      meta: {
        title: "用户信息",
        showLink: false
      }
    }
  ]
} satisfies RouteConfigsTable;
